Description:
Counts the number of fields. Inherited attributes may be counted optionally. If a class has a high number of attributes, it may be wise to consider whether it would be appropriate to divide it into subclasses.